import api from '@/utils/request'

export const getAllRoleList = () => {
    return api.get('/Admin/sys-role/queryAll')
}

export const queryAllRoleByPage = (data: any) => {
    return api.post('/Admin/sys-role/queryAllByPage', data)
}